evidence of his plans to target churches ' an attack , a prosecutor says .
the man was identified later as sid ahmed ghlam .
ghlam was someone suspected of killing a 32-year-old woman hours earlier .